#ifndef _MEMFILE_H_
#define _MEMFILE_H_

#include<fstream>
#include<iostream>
#include<string>

#include"Debug.h"

struct memFile
{
	memFile() :
		size_(0),
		bOpen_(false),
		data_(nullptr)
	{
	}
	
	~memFile()
	{
		if (bOpen_)
		{
			delete[] data_;
		}
	}

	void open(const std::string& file)
	{

	}

	bool is_open()const
	{
		return bOpen_;
	}

	int size()const
	{
		return size_;
	}

	int size_;
	bool bOpen_;

	char* data_;
};

#endif